/*
 * @author jingsong.chen, QQ:77132995, email:kazeik@163.com
 * 2019-08-20 19:13
 * 类说明:
 */

class ApiUtils {
  // static const String mtnapp = "mtnapp";
  // static const String HOST = ""; //对接系统后台生成给到
  static const String APP = "api-merchant/m/";
  static const String JPDevice = "api-jpdevice";


  // static const String UPDATE_APP = "kcomm/open/api/app/version/info"; //APP更新
  /*
   * 登录获取的token
   */
  static const String getAuth = 'api-uaa/oauth/token';

  /*
   * 获取短信码
   */
  static const String getsms = "merchant/sendCode/";

  //商户通过手机号码登录
  static const String loginByPhone = "merchant/mLogin";

//  商户申请开店信息
  static const String apply_info = "apply/info";

//  查看个人开店申请状态
  static const String apply_status = "apply/status";

  //意见反馈
  static const String meroptions_options = "meroptions/options";

//  商户个人中心
  static const String merchant_center = "merchant/center";

//  商户个人中心-钱包
  static const String merchant_myWallet = "merchant/myWallet";

  // app登录密码设置
  static const String merchant_setLoginPass = "merchant/setLoginPass";

//  首页查询门店设备列表
  static const String rsresdevices = "rsresdevices";

//  查询门店设备详情页
  static const String rsresdevices_info = "rsresdevices/";

  // 查询门店类型,接口开放
  static const String res_semiType = "res/semiType";

//  商户查询门店餐品列表
  static const String dishRes = "dishRes";

  // 下拉录入可自动采购的餐品信息
  static const String dishRes_addAuto = "dishRes/addAuto";

  // 查询已经自动采购的餐品信息
  static const String dishRes_autoList = "dishRes/autoList";

//  设置系统自动采购数量
  static const String dishRes_autoPurchase = "dishRes/autoPurchase";

  //商户盘点商品信息
  static const String dishRes_info = "dishRes/info";

  // 设置某种餐品是否自动采购
  static const String dishRes_isAuto = "dishRes/isAuto";

  // 保存添加的自动采购信息
  static const String dishRes_saveAddAuto = "dishRes/saveAddAuto";

  // 商户设置餐品是否上下架
  static const String dishRes_upDownDish = "dishRes/upDownDish";

  //上传文件
  static const String upload_uploadImg = "upload/uploadImg";
  static const String upload_uploadImages = "upload/uploadImagesByType";

  // 获取商户首页累计成交金额、今日销售金额、月销售金额、今日预计分润、累计分润
  static const String merchant_profit = "merchant/profit";

  //获取省
  static const String area_provinces = "/api-app/wprogram/area/provinces";

  //获取市区
  static const String area_cities = "/api-app/wprogram/area/cities/";

  //商户修改门店地址
  static const String res_updateAddr = "res/upateAddr";

  //查询商户个人消息列表
  static const String message = "message";

  //设置消息全部已读
  static const String readAllMegByUserId = "message/readAllMegByUserId";

  //查询商户个人消息列表
  static const String merchant_foodSalesRanking = "merchant/foodSalesRanking";

  //商户余额明细
  static const String sharebalancedetails_balanceDetails = "sharebalancedetails/balanceDetails";

  //商户余额明细列表
  static const String sharebalancedetails_balanceDetailsList = "sharebalancedetails/balanceDetailsList";

  //商户冻结金额列表
  static const String sharebalancedetails_frozenAmountList = "sharebalancedetails/frozenAmountList";

  //商户我的钱包-数据统计
  static const String merchant_salesDataStatistics = "merchant/salesDataStatistics";

  //商户采购要货列表
  static const String merchant_purchaseList = "material/purchaseList";

  //商户我的钱包-销售订单明细列表
  static const String merchantOrder_salesOrderList = "merchantOrder/salesOrderList";

  //采购要货-选择供应商
  static const String merchantOrder_chooseSupplier = "dishRes/chooseSupplier";

  //采购要货-新增采购单
  static const String scmpurorder_addPurOrder = "scmpurorder/addPurOrder";

  //采购要货-采购列表
  static const String scmpurorder_purOrderList = "scmpurorder/purOrderList";

  //采购要货-采购单详情列表
  static const String scmpurorder_purOrderDetailsList = "scmpurorder/purOrderDetailsList";

  //采购要货-撤销订单
  static const String scmpurorder_cancelPurchaseOrder = "scmpurorder/cancelPurchaseOrder";

  //获取Banner
  static const String getBanner = "merchant/banner";

  //商户绑定微信
  static const String merchant_bindWeChat = "merchant/bindWeChat";

  //退出登录
  static const String exit_login = "api-uaa/oauth/remove/token";

  //更新头像
  static const String res_setAvatar = "res/setAvatar";

  //更改支付密码
  static const String sharetotal_setPayPass = "sharetotal/setPayPass";

  //设置推送
  static const String merchant_messagePush = "merchant/messagePush";

  //申请提现列表
  static const String drawcashapply_list = "drawcash-apply/list";

  //申请提现
  static const String drawcash_apply_withdrawApply = "drawcash-apply/withdrawApply";

  //检查版本更新
  static const String appVersion = "api-app/maintenance/dowmland/appDown";

//  商户查询未读消息统计
  static const String messagecount = "message/count";

//  获取消息详情
  static const String message_getDetails = "message/merchantMsgInfo";

//  消息已读
  static const String message_readMsg = "message/readMsg";

//  设置销售库存
  static const String dishRes_setSalesInventory = "dishRes/setSalesInventory";

//  设置销售价格
  static const String dishRes_setSellingPrice = "dishRes/setSellingPrice";

//  忘记密码
  static const String retrievePassword = "merchant/retrievePassword";

  //获取消息推送开关
  static const String getMesSwitch = "message/getMesSwitch";

  //获取提现详情
  static const String withdrawalDetails = "drawcash-apply/withdrawalDetails";

//  获取mqtt连接参数
  static const String rsresdevices_configure = "api-jpdevice/rsresdevices/configure";

  //这地方要带斜杠用于签名
  static const String mqtt_device = "/mqtt/device";

  //获取原料分类
  static const String getMaterialTypes = "material/getMaterialTypes";

  //确认入库
  static const String confirmPurOrder = "voucher/confirmPurOrder";

  //采购退货-发起退货
  static const String addReturnPurOrder = "purOrderReturn/addReturnPurOrder";

  //采购退货记录
  static const String returnOrderList = "purOrderReturn/returnOrderList";

  //选择报损餐品的列表
  static const String getFoodLossList = "dishRes/getFoodLossList";

//  库存盘点原料列表
  static const String stockBalList = "voucher/stockBalList";

//  库存盘点原料列表
  static const String getDishCategoryList = "tDishCategory/getDishCategoryList";

//  库存盘点原料列表
  static const String materialVacherList = "voucher/materialVacherList";

//  餐品报损
  static const String debtDish = "dishRes/debtDish";

//  订单处理列表
  static const String getOrderReminderList = "processorderreceiving/getOrderReminderList";

//  订单处理-获取取货位置
  static const String getPickUpLocation = "processorderreceiving/getPickUpLocation";

// 订单处理-等待取货-(扫码确认 | 输入短码确认 | 没有餐品 )
  static const String processorderreceiving_pickUp = "processorderreceiving/pickUp";

// 订单处理-开始接单
  static const String processorderreceiving_clickReceiveOrder = "processorderreceiving/clickReceiveOrder";

// 等待制作
  static const String waitMake = "dishRes/waitMake";

// 等待制作
  static const String makeDish = "dishRes/makeDish";

// 餐品制作详情
  static const String makeDetails = "dishRes/makeDetails";

  // 扫码制作校验
  static const String scanCodeMakeDish = "dishRes/scanCodeMakeDish";

  // 退款记录列表
  static const String salesReturnOrderList = "merchantOrder/salesReturnOrderList";

  // 申请退款列表
  static const String refundAuditList = "merchantOrder/getRefundOrderList";

  // 同意退款
  static const String agreeRefund = "orderRefund/agreeRefund";

  // 拒绝退款
  static const String refusalRefund = "orderRefund/refusalRefund";
}
